public class UserStoryTest 
{
	static testmethod void testUserStoryToSolution()
	{
        //First, prepare 10 Work Items for the test data
        User_Story__c[] UserStoriesToCreate = new User_Story__c[]{};
        for(Integer x=0; x<10;x++)
        {
            User_Story__c u = new User_Story__c(Name='test',Description__c='test');
            UserStoriesToCreate.add(u);
        }	
        //Now insert data causing Idea triggers to fire. 
        Test.startTest();
        insert UserStoriesToCreate;
        for(Integer x=0; x<10;x++)
        {
        	UserStoriesToCreate[x].Description__c = 'Test123';
        	UserStoriesToCreate[x].reviewed__c = true;
        	UserStoriesToCreate[x].send_to_solutions__c = true;
        }
        update UserStoriesToCreate;
        delete UserStoriesToCreate;
        Test.stopTest();  	
	}
	static testmethod void testUserStoryToIdea()
	{
        //First, prepare 10 Work Items for the test data
        User_Story__c[] UserStoriesToCreate = new User_Story__c[]{};
        for(Integer x=0; x<10;x++)
        {
            User_Story__c u = new User_Story__c(Name='test',Description__c='test');
            UserStoriesToCreate.add(u);
        }	
        //Now insert data causing Idea triggers to fire. 
        Test.startTest();
        insert UserStoriesToCreate;
        for(Integer x=0; x<10;x++)
        {
        	UserStoriesToCreate[x].Description__c = 'Test123';
        	UserStoriesToCreate[x].reviewed__c = true;
        	UserStoriesToCreate[x].send_to_ideas__c = true;
        }
        update UserStoriesToCreate;
        delete UserStoriesToCreate;
        Test.stopTest();  	
	}
}